package cn.jhc.bean;

public class Account {
	private int id;
	private double balance;
	private String creditcard;
	private int userId;

	public Account(){
		
	}
	public Account(Double bala,String cred,int user){
		balance = bala;
		creditcard = cred;
		userId = user;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	public String getCreditcard() {
		return creditcard;
	}
	public void setCreditcard(String creditcard) {
		this.creditcard = creditcard;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}

}
